package com.ikun.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultCodeEnum {
    SUCCESS(200, "请求成功"), ERROR(444, "请求失败"), NETWORK_TIMEOUT(800, "请求超时"), FILE_OUT_MAX(801, "文件超出最大限制"),
    FILE_TYPE_ERROR(802, "文件类型不正确"), UNKNOWN_PAGE(404, "页面未找到");

    // 状态码
    private final int code;

    // 状态信息
    private final String msg;
}
